package com.ftg.learn.smhtml.qianduan.service;

import com.ftg.learn.smhtml.qianduan.mapper.ChanpinMapper;
import com.ftg.learn.smhtml.qianduan.mapper.GaocengMapper;
import com.ftg.learn.smhtml.qianduan.pojo.Chanpin;
import com.ftg.learn.smhtml.qianduan.pojo.Gaoceng;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GaocengService {

    @Autowired
    GaocengMapper gm;

    public List<Gaoceng> showAll(){

        return gm.showAll();
    }

    public  List<Gaoceng> findone(String id){
        return gm.findone(id);
    }
}
